package com.iterator.bean.web.wy.admin;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: Silence_W
 * @date: 2021-01-10 20:49
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class UpdateBO {

    /**
     * id : 9
     * username : 迪丽热巴
     * avatar : null
     * roleIds : [3,1]
     * password : 342343535
     */

    private int id;
    private String username;
    private String avatar;
    private String password;
    private List<Integer> roleIds;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }
}
